<?php
Doo::loadCore('db/DooModel');

class GlboAccessRightBase extends DooModel
{

    /**
     * @var int Max length is 11.
     */
    public $usr_id;

    /**
     * @var int Max length is 11.
     */
    public $mod_id;

    public $_table = 'glbo_access_right';
    public $_primarykey = 'mod_id';
    public $_fields = array('usr_id','mod_id');

    public function getVRules() {
        return array(
                'usr_id' => array(
                        array( 'integer' ),
                        array( 'maxlength', 11 ),
                        array( 'notnull' ),
                ),

                'mod_id' => array(
                        array( 'integer' ),
                        array( 'maxlength', 11 ),
                        array( 'notnull' ),
                )
            );
    }

}